package com.mybatislearn.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wangzd
 * @create 2021-11-13 11:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private String id;
    private Integer blogId;
    private String body;
    private User user;
    private Blog blog;

    public Blog getBlog() {
        return blog;
    }

    public void setBlog(Blog blog) {
        this.blog = blog;
    }
}
